﻿@model WebFitness.TpManutencao

@{
    ViewBag.Title = "Cadastrar";
}

<div class="span7">
    <div class="top-bar">
        <h3>
            <i class="icon-cog"></i>
            Cadastro de Tipo de Manutenção
        </h3>
    </div>
    <div class="well no-padding">
        @using (Html.BeginForm("Create", "TipoManutencao", FormMethod.Post, new { @class = "form-horizontal" }))
        {
            @Html.AntiForgeryToken()
            @Html.ValidationSummary(true)

            <div class="control-group">
                @Html.LabelFor(model => model.dsTpManutencao, new { @class = "control-label" })
                <div class="controls">
                    @Html.EditorFor(model => model.dsTpManutencao)
                    @Html.ValidationMessageFor(model => model.dsTpManutencao)
                </div>
            </div>
            <div class="control-group">
                @Html.LabelFor(model => model.observacao, new { @class = "control-label" })
                <div class="controls">
                    @Html.TextAreaFor(model => model.observacao,3, 1, new { @class="span5 m-wrap" })
                    @Html.ValidationMessageFor(model => model.observacao)
                </div>
            </div>   
                
            <div class="form-actions">
                <input type="submit" class="btn btn-success" name="enviar" value="Salvar" />
                @Html.ActionLink("Cancelar", "Index", null, new { @class = "btn btn-danger" })
            </div>
        }
    </div>
</div>
